<?php
$form = $this->beginWidget('CActiveForm', array(
    'id' => 'site-news-form',
    'enableAjaxValidation' => false,
    'htmlOptions' => array('enctype' => 'multipart/form-data'),
        ));
?>
<div class="block">
    <div class="alert alert_grey">
        <img height="24" width="24" src="<?php echo Yii::app()->params['backendUrl']; ?>/images/icons/small/grey/alert_2.png">
        Fields with <span class="required"><strong>*</strong></span> are required.
    </div>

    <p class="note">Fields with <span class="required">*</span> are required.</p>

    <?php echo $form->errorSummary($model); ?>
	<?php echo $form->errorSummary($model); ?>


		<?php echo $form->labelEx($model,'news_category_title'); ?>
		<?php echo $form->textField($model,'news_category_title',array('size'=>60,'maxlength'=>100)); ?>
		<?php echo $form->error($model,'news_category_title'); ?>


	<div class="input_group">
            <?php echo $form->labelEx($model, 'news_category_is_active'); ?>
            <?php echo $form->radioButtonList($model, 'news_category_is_active', array('1' => 'Ya', '0' => 'Tidak'), array('size' => 1, 'maxlength' => 1, 'labelOptions' => array('style' => 'display:inline; font-weight:normal;'))); ?>
            
        </div>

    <button class="button_colour round_all"><img height="24" width="24" alt="Bended Arrow Right" src="<?php echo Yii::app()->params['backendUrl']; ?>/images/icons/small/white/bended_arrow_right.png"><span><?php echo ($model->isNewRecord) ? 'Create' : 'Save'; ?></span></button>

</div>

<?php $this->endWidget(); ?>